#include <iostream>
using namespace std;

void Max(int* a, int* b, int* c)
{
    /**********   Begin   **********/
    if (*a > *b) {
        int temp = *a;
        *a = *b;
        *b = temp;
    }
    if (*b > *c) {
        int temp = *b;
        *b = *c;
        *c = temp;
    }
    if (*a > *b) {
        int temp = *a;
        *a = *b;
        *b = temp;
    }

    /**********   End   **********/
}
